/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.rental.service.dto;

import lombok.Data;
import me.zhengjie.base.BaseDTO;

import java.sql.Timestamp;
import java.io.Serializable;

/**
*
* @description /
* @author maojinhui
* @date 2020-10-29
**/
@Data
public class RentalDto extends BaseDTO implements Serializable {

    private Long id;

    /** 发布人id */
    private String userId;


    /** 联系电话 */
    private String tel;

    /** 标题 */
    private String title;

    /** 租金/月 */
    private Integer renet;

    /** 付款方式 */
    private String payType;

    /** 房屋面积 */
    private Integer area;

    /** 房型 */
    private String houseType;

    /** 房屋朝向 */
    private String toward;

    /** 楼层 */
    private Integer floor;

    /** 是否有电梯 */
    private Integer hasLift;

    /** 1毛坯房；2简装修；3精装修 */
    private Integer decoration;

    /** 地址 */
    private String address;


    /** 状态：-1待提交，草稿，0待审核；1审核通过；2审核失败;3已过期 */
    private Integer status;

    /** 生效时间 */
    private Timestamp startTime;

    /** 结束时间 */
    private Timestamp endTime;
}